package junit.com.cs.common.init;

import junit.framework.TestCase;

import com.cs.common.init.SystemParameterCollection;
import com.cs.common.init.beans.SystemParameterBean;

public class SystemParameterCollectionTest extends TestCase {
	
	SystemParameterCollection systemParameterCollection;
	SystemParameterBean systemParameterBean;
	String code;

	public SystemParameterCollectionTest(String name) {
		super(name);
	}

	protected void setUp() throws Exception {
		systemParameterCollection = SystemParameterCollection.getInstance();
		code = "MOD_SEG_APPLICATION";
	}

	protected void tearDown() throws Exception {
		systemParameterCollection = null;
	}

	public void testGetSystemParameterBean() {
		systemParameterBean =  systemParameterCollection.getSystemParameterBean(code);
		assertNotNull(systemParameterBean);
	}

}
